package com.dhecp.project.hr.mapper;


import com.dhecp.core.genericDao.GenericDao;
import com.dhecp.project.common.domain.UpdateDeleted;
import com.dhecp.project.common.domain.UpdateFlow;
import com.dhecp.project.hr.domain.UserInfoYY;
import com.dhecp.project.hr.domain.UserSalary;
import com.dhecp.project.hr.domain.UserWelfare;

import java.util.List;
import java.util.Map;

/**
 * @description: 员工薪资申请-薪资发放申请确认单据
 * @author: hlf
 * @date: 2022-05-07 15:08
 */
public interface UserSalaryMapper extends GenericDao<UserSalary, String> {

    /**
    *@Description: 薪资调用数据
    *@Param: [params]
    *@return: java.util.List<com.dhecp.project.hr.domain.UserSalary>
    *@Author: hlf
    *@date: 2022-07-26 9:56
    */
    List<UserSalary> selectAll(Map<String, Object> params);


    List<UserSalary> queryUserSalaryList(Map<String, Object> params);
    List<UserSalary> queryUserSalaryList2(Map<String, Object> params);

    /**
    *@Description: 修改删除标志（仅需 guid 和 deleted）
    *@Param: [updateDeleted]
    *@return: int
    *@Author: hlf
    *@date: 2022-05-09 10:13
    */
    int updateDeleted(UpdateDeleted updateDeleted);

    /**
    *@Description: 修改流程状态及生效标志（仅需 guid、activeFlow、effectStock、updateTime）
    *@Param: [updateFlow]
    *@return: int
    *@Author: hlf
    *@date: 2022-05-09 10:13
    */
    int updateFlow(UpdateFlow updateFlow);
}
